package com.example.gybicycle.entity;

import com.example.gybicycle.common.entity.Entity;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import java.util.List;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

@Data
@Schema(name ="角色")
public class SysRole   extends Entity {
    @Schema(description = "角色id")
    private String id;
    @Schema(description = "角色名称")
    private String name;
    @Schema(description = "修改人")
    private String editBy;
    @Schema(description = "修改人名称")
    private  String editName;
    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")    private Date editTime;
    @Schema(description = "选择菜单")
    private List<Integer> menuList;

    @Schema(description ="备注")
    private String remark;
    @Schema(description ="排序")
    private Integer sort;
    private Integer  status;

}